/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.darkhelm.shtester.client;

import com.google.gwt.junit.client.GWTTestCase;
import junit.framework.AssertionFailedError;

/**
 *
 * @author cliffhill
 */
public class Gwt_TestApp extends GWTTestCase {

    @Override
    public String getModuleName() {
        return "org.darkhelm.shtester.App";
    }

    public void testHighlighter1() {
        try {
            App app;
            app = new App();
            app.onModuleLoad();
            app.makeHighlighter();
        } catch (Throwable ex) {
            if (ex instanceof AssertionFailedError) {
                throw (AssertionFailedError) ex;
            } else {
                AssertionFailedError ase = new AssertionFailedError(ex.getMessage());
                ase.initCause(ex);
                throw ase;
            }
        }
    }
}
